package com.theaf.basemodule.common.vo.mesTemplate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@ApiModel("消息模版")
@Data
@AllArgsConstructor
public class MesTemplateVo {
    @ApiModelProperty("模版id,新增不传，修改必传。")
    private Long id;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("编码")
    private String code;
    @ApiModelProperty("分类")
    private Integer type;
    @ApiModelProperty("状态(1启用2禁用)")
    private Integer status;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("周期表达式")
    private String cron;
    @ApiModelProperty("通知范围集合")
    private List<NotifyScopeVo> notifyScopeVoList;
    @ApiModelProperty("消息模版-途径")
    private List<TemplateWayVo> templateWayList;

}
